<template>
    <div class="container">
        <h1>欢迎来到虚拟机管理平台</h1>
        <el-button type="primary" @click="gotoLogin">前往登录</el-button>
        <el-button type="primary" @click="gotoRegister">前往注册</el-button>
    </div>
</template>

<script lang="ts">

export default {
    data(){
        return{

        }
    },
    methods:{
        gotoLogin(){
            this.$router.push({name:'login'})
        },
        gotoRegister(){
            this.$router.push({name:'register'})
        }
    }
}



</script>

<style scoped>
    .container{
        height: 100%;
        text-align: center;
    }
</style>